package cn.sm1234.user.controller;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 用户Controller
 */
@FeignClient("skywalking-try-user")
@RequestMapping("/user")
public interface UserController {


  

    /**
     * 根据id查询用户
     */
    @RequestMapping(value = "/user/{id}",method = RequestMethod.GET)
    public String findById(@PathVariable(value = "id") Integer id);

    
}
